FROM faucet/python3:latest
RUN ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo "Asia/Shanghai" > /etc/timezone
MAINTAINER lei.wang
WORKDIR /app
ADD . /app
RUN pip install -i https://mirrors.aliyun.com/pypi/simple/ -r /app/requirements.txt
RUN chmod +x /app/run_celery.sh && chmod +x /app/run_celery_beat.sh
